namespace winform_compu
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            this.textBox1.Text = "0";
            this.textBox2.Text = "0";
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.label1.Text = Convert.ToString(Convert.ToInt32(this.textBox1.Text) - Convert.ToInt32(this.textBox2.Text));
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.label1.Text = Convert.ToString(Convert.ToInt32(this.textBox1.Text) + Convert.ToInt32(this.textBox2.Text));
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void Form1_Load(object sender, EventArgs e)
        {


        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.label1.Text = Convert.ToString(Convert.ToInt32(this.textBox1.Text) * Convert.ToInt32(this.textBox2.Text));

        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.label1.Text = Convert.ToString(Convert.ToInt32(this.textBox1.Text) / Convert.ToInt32(this.textBox2.Text));

        }
    }
}